package com.team1.manager.school.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import com.team1.manager.classes.entity.Classes;
import com.team1.manager.pro.entity.Pro;
import com.team1.manager.student.entity.Student;
import com.team1.manager.teacher.entity.Teacher;
/**
 * 校区
 * @author yzy
 *
 */
public class School implements Serializable {
	private String id;
	private String name;//校区的名字
	private transient Set<Pro> pros = new HashSet<Pro>();//校区拥有的专业
	private transient Set<Teacher> teachers = new HashSet<Teacher>();//校区的老师
	private transient Set<Classes> classes = new HashSet<Classes>();//校区的班级
	private transient Set<Student> students = new HashSet<Student>();//校区的学生
	public String getId() {
		return id;		
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set<Pro> getPros() {
		return pros;
	}
	public void setPros(Set<Pro> pros) {
		this.pros = pros;
	}
	public Set<Teacher> getTeachers() {
		return teachers;
	}
	public void setTeachers(Set<Teacher> teachers) {
		this.teachers = teachers;
	}
	public Set<Classes> getClasses() {
		return classes;
	}
	public void setClasses(Set<Classes> classes) {
		this.classes = classes;
	}
	public Set<Student> getStudents() {
		return students;
	}
	public void setStudents(Set<Student> students) {
		this.students = students;
	}
	
}
